package cn.hwadee.muying.excel;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Mankind on 2018/8/8.
 */
public interface ConstantWorker {
    /**
     * 员工字段对应表
     */
    Map<String,String> fieldMap = new HashMap<String,String>(){{
        put("username","姓名");
        put("address","所在地区");
        put("introduction","自我介绍");
        put("birthday","生日");
        put("image","图片地址");
        put("email","邮箱");
        put("telephone","手机号码");
        put("nativePlace","籍贯");
        put("married","婚姻");
        put("age","年龄");
        put("constellation","星座");
        put("education","最高学历");
        put("free","目前状态");
        put("experience","工作经验");
        put("expectedCity","目标城市");
        put("workerLevel","育婴师等级");


    }};
    /**
     * 员工字段对应表
     */
    Map<String,String> importFieldMap = new HashMap<String,String>(){{
        put("姓名","username");
        put("所在地区","address");
        put("自我介绍","introduction");
        put("生日","birthday");
        put("图片地址","image");
        put("邮箱","email");
        put("手机号码","telephone");
        put("籍贯","nativePlace");
        put("婚姻","married");
        put("年龄","age");
        put("星座","constellation");
        put("最高学历","education");
        put("目前状态","free");
        put("工作经验","experience");
        put("目标城市","expectedCity");
        put("育婴师等级","workerLevel");

    }};
    /**
     * 员工唯一字段对应表
     */
    List<String> uniqueFields = new ArrayList<String>(){{
        //add("产品ID");
    }};
    /**
     * 员工非空字段对应表
     */
    Map<String,String> notNullFields = new HashMap<String,String>(){{
        put("username","姓名");
        put("address","所在地区");
        put("introduction","自我介绍");
        put("birthday","生日");
        put("image","图片地址");
        put("telephone","手机号码");
        put("nativePlace","籍贯");
        put("married","婚姻");
        put("age","年龄");
        put("constellation","星座");
        put("education","最高学历");
        put("free","目前状态");
        put("experience","工作经验");
        put("expectedCity","目标城市");
        put("workerLevel","育婴师等级");

    }};
}
